package com.ourteam.product.ui.dao;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;
import org.apache.commons.lang.StringUtils;

/**
 * Template Name : DAO查询对象 Template Version : 1 Template Last Modfiy Date : Sat Aug 19 10:06:32 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:12 Warning ! This file will be overwrite when
 * regenerate !
 */
public class ProductUIFormFieldTypeDAOQueryBean extends BaseQueryBean {

  public ProductUIFormFieldTypeDAOQueryBean() {
    super();
  }

  public ProductUIFormFieldTypeDAOQueryBean(BaseQueryBean aQueryBean) {
    super(aQueryBean);
  }

  public ProductUIFormFieldTypeDAOQueryBean(BaseQueryBean aQueryBean, Map tableReplaceMap) {
    super(aQueryBean, tableReplaceMap);
  }

  public Criteria createCriteria() {

    Criteria criteria = createCriteriaInternal();
    if (oredCriteria.size() == 0) {
      oredCriteria.add(criteria);
    }
    return criteria;
  }

  protected Criteria createCriteriaInternal() {
    return new Criteria(this);
  }

  public void addIdSelectProperty() {
    addIdSelectProperty("id");
  }

  public void addIdSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldTypeDAO.Id, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldTypeDAO.Id, "id");
    }
  }

  public void addTypeNameSelectProperty() {
    addTypeNameSelectProperty("typeName");
  }

  public void addTypeNameSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldTypeDAO.TypeName, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldTypeDAO.TypeName, "typeName");
    }
  }

  public void addTypeWidgetSelectProperty() {
    addTypeWidgetSelectProperty("typeWidget");
  }

  public void addTypeWidgetSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldTypeDAO.TypeWidget, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldTypeDAO.TypeWidget, "typeWidget");
    }
  }

  public void addAllowSubFieldSelectProperty() {
    addAllowSubFieldSelectProperty("allowSubField");
  }

  public void addAllowSubFieldSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldTypeDAO.AllowSubField, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldTypeDAO.AllowSubField, "allowSubField");
    }
  }

  public void addLastModifyUserSelectProperty() {
    addLastModifyUserSelectProperty("lastModifyUser");
  }

  public void addLastModifyUserSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldTypeDAO.LastModifyUser, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldTypeDAO.LastModifyUser, "lastModifyUser");
    }
  }

  public void addLastModifyTimeSelectProperty() {
    addLastModifyTimeSelectProperty("lastModifyTime");
  }

  public void addLastModifyTimeSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldTypeDAO.LastModifyTime, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldTypeDAO.LastModifyTime, "lastModifyTime");
    }
  }

  public void addStatusSelectProperty() {
    addStatusSelectProperty("status");
  }

  public void addStatusSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldTypeDAO.Status, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldTypeDAO.Status, "status");
    }
  }

  public void addRemarksSelectProperty() {
    addRemarksSelectProperty("remarks");
  }

  public void addRemarksSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldTypeDAO.Remarks, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldTypeDAO.Remarks, "remarks");
    }
  }

  public void addTypeIconSelectProperty() {
    addTypeIconSelectProperty("typeIcon");
  }

  public void addTypeIconSelectProperty(String aAlias) {
    if (StringUtils.isNotBlank(aAlias)) {
      addSelectProperty(IProductUIFormFieldTypeDAO.TypeIcon, aAlias);
    } else {
      addSelectProperty(IProductUIFormFieldTypeDAO.TypeIcon, "typeIcon");
    }
  }

  public void addAllSelectProperties() {

    addIdSelectProperty();

    addTypeNameSelectProperty();

    addTypeWidgetSelectProperty();

    addAllowSubFieldSelectProperty();

    addLastModifyUserSelectProperty();

    addLastModifyTimeSelectProperty();

    addStatusSelectProperty();

    addRemarksSelectProperty();

    addTypeIconSelectProperty();
  }

  public static class Criteria extends BaseWhereCriterion<ProductUIFormFieldTypeDAOQueryBean> {

    protected Criteria(ProductUIFormFieldTypeDAOQueryBean aParentObject) {
      super(aParentObject);
    }

    public Criteria andIdIsNull() {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " is null");
      return this;
    }

    public Criteria andIdIsNotNull() {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " is not null");
      return this;
    }

    public Criteria andIdIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldTypeDAO.Id
              + " is not null AND "
              + IProductUIFormFieldTypeDAO.Id
              + " <> ''");
      return this;
    }

    public Criteria andIdIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldTypeDAO.Id
              + " is null OR "
              + IProductUIFormFieldTypeDAO.Id
              + " = '')");
      return this;
    }

    public Criteria andIdEqualTo(long value) {
      return andIdEqualTo(Long.valueOf(value));
    }

    public Criteria andIdEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldTypeDAO.Id + " = ", value, "id");
      return this;
    }

    public Criteria andIdEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Id);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotEqualTo(long value) {
      return andIdNotEqualTo(Long.valueOf(value));
    }

    public Criteria andIdNotEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldTypeDAO.Id + " <>", value, "id");
      return this;
    }

    public Criteria andIdNotEqualToOrIsNull(long value) {
      return andIdNotEqualToOrIsNull(Long.valueOf(value));
    }

    public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {

      addCriterion(
          IProductUIFormFieldTypeDAO.Id + " is null OR " + IProductUIFormFieldTypeDAO.Id + " <>",
          value,
          "id");
      return this;
    }

    public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Id);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThan(long value) {
      return andIdGreaterThan(Long.valueOf(value));
    }

    public Criteria andIdGreaterThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldTypeDAO.Id + " >", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Id);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(long value) {
      return andIdGreaterThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldTypeDAO.Id + " >=", value, "id");
      return this;
    }

    public Criteria andIdGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Id);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThan(long value) {
      return andIdLessThan(Long.valueOf(value));
    }

    public Criteria andIdLessThan(java.lang.Long value) {

      addCriterion(IProductUIFormFieldTypeDAO.Id + " <", value, "id");
      return this;
    }

    public Criteria andIdLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Id);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(long value) {
      return andIdLessThanOrEqualTo(Long.valueOf(value));
    }

    public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {

      addCriterion(IProductUIFormFieldTypeDAO.Id + " <=", value, "id");
      return this;
    }

    public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Id);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andIdLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdIn(long[] values) {
      if (values.length == 1) {
        return andIdEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo((java.lang.Long) values[0]);
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(List<java.lang.Long> values) {

      if (values.size() == 1) {
        return andIdEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Id + " in", values, "id");
        return this;
      }
    }

    public Criteria andIdNotIn(List<java.lang.Long> values) {
      if (values.size() == 1) {
        return andIdNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Id + " not in", values, "id");
        return this;
      }
    }

    public Criteria andIdIn(java.lang.Long[] values) {

      if (values.length == 1) {
        return andIdEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Id + " in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdNotIn(java.lang.Long[] values) {
      if (values.length == 1) {
        return andIdNotEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Id + " not in", Arrays.asList(values), "id");
        return this;
      }
    }

    public Criteria andIdIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andIdBetween(long value1, long value2) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(long value1, long value2) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
      addCriterion(IProductUIFormFieldTypeDAO.Id + " not between", value1, value2, "id");
      return this;
    }

    public Criteria andTypeNameIsNull() {
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " is null");
      return this;
    }

    public Criteria andTypeNameIsNotNull() {
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " is not null");
      return this;
    }

    public Criteria andTypeNameIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldTypeDAO.TypeName
              + " is not null AND "
              + IProductUIFormFieldTypeDAO.TypeName
              + " <> ''");
      return this;
    }

    public Criteria andTypeNameIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldTypeDAO.TypeName
              + " is null OR "
              + IProductUIFormFieldTypeDAO.TypeName
              + " = '')");
      return this;
    }

    public Criteria andTypeNameEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " = ", value, "typeName");
      return this;
    }

    public Criteria andTypeNameEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeName);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " <>", value, "typeName");
      return this;
    }

    public Criteria andTypeNameNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldTypeDAO.TypeName
              + " is null OR "
              + IProductUIFormFieldTypeDAO.TypeName
              + " <>",
          value,
          "typeName");
      return this;
    }

    public Criteria andTypeNameNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeName);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameGreaterThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " >", value, "typeName");
      return this;
    }

    public Criteria andTypeNameGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeName);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " >=", value, "typeName");
      return this;
    }

    public Criteria andTypeNameGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeName);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameLessThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " <", value, "typeName");
      return this;
    }

    public Criteria andTypeNameLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeName);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " <=", value, "typeName");
      return this;
    }

    public Criteria andTypeNameLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeName);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeNameLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " like", buffer.toString(), "typeName");
      return this;
    }

    public Criteria andTypeNameNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldTypeDAO.TypeName + " not like", buffer.toString(), "typeName");
      return this;
    }

    public Criteria andTypeNameIn(List<String> values) {

      if (values.size() == 1) {
        return andTypeNameEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.TypeName + " in", values, "typeName");
        return this;
      }
    }

    public Criteria andTypeNameNotIn(List<String> values) {
      if (values.size() == 1) {
        return andTypeNameNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.TypeName + " not in", values, "typeName");
        return this;
      }
    }

    public Criteria andTypeNameIn(String[] values) {

      if (values.length == 1) {
        return andTypeNameEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.TypeName + " in", Arrays.asList(values), "typeName");
        return this;
      }
    }

    public Criteria andTypeNameNotIn(String[] values) {
      if (values.length == 1) {
        return andTypeNameNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.TypeName + " not in", Arrays.asList(values), "typeName");
        return this;
      }
    }

    public Criteria andTypeNameIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeNameBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeName + " between", value1, value2, "typeName");
      return this;
    }

    public Criteria andTypeNameNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldTypeDAO.TypeName + " not between", value1, value2, "typeName");
      return this;
    }

    public Criteria andTypeWidgetIsNull() {
      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " is null");
      return this;
    }

    public Criteria andTypeWidgetIsNotNull() {
      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " is not null");
      return this;
    }

    public Criteria andTypeWidgetIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldTypeDAO.TypeWidget
              + " is not null AND "
              + IProductUIFormFieldTypeDAO.TypeWidget
              + " <> ''");
      return this;
    }

    public Criteria andTypeWidgetIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldTypeDAO.TypeWidget
              + " is null OR "
              + IProductUIFormFieldTypeDAO.TypeWidget
              + " = '')");
      return this;
    }

    public Criteria andTypeWidgetEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " = ", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeWidget);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " <>", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldTypeDAO.TypeWidget
              + " is null OR "
              + IProductUIFormFieldTypeDAO.TypeWidget
              + " <>",
          value,
          "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeWidget);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetGreaterThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " >", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeWidget);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " >=", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeWidget);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetLessThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " <", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeWidget);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " <=", value, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeWidget);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeWidgetLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldTypeDAO.TypeWidget + " like", buffer.toString(), "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldTypeDAO.TypeWidget + " not like", buffer.toString(), "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetIn(List<String> values) {

      if (values.size() == 1) {
        return andTypeWidgetEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " in", values, "typeWidget");
        return this;
      }
    }

    public Criteria andTypeWidgetNotIn(List<String> values) {
      if (values.size() == 1) {
        return andTypeWidgetNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " not in", values, "typeWidget");
        return this;
      }
    }

    public Criteria andTypeWidgetIn(String[] values) {

      if (values.length == 1) {
        return andTypeWidgetEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.TypeWidget + " in", Arrays.asList(values), "typeWidget");
        return this;
      }
    }

    public Criteria andTypeWidgetNotIn(String[] values) {
      if (values.length == 1) {
        return andTypeWidgetNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.TypeWidget + " not in", Arrays.asList(values), "typeWidget");
        return this;
      }
    }

    public Criteria andTypeWidgetIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeWidget + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeWidgetBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldTypeDAO.TypeWidget + " between", value1, value2, "typeWidget");
      return this;
    }

    public Criteria andTypeWidgetNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldTypeDAO.TypeWidget + " not between", value1, value2, "typeWidget");
      return this;
    }

    public Criteria andAllowSubFieldIsNull() {
      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " is null");
      return this;
    }

    public Criteria andAllowSubFieldIsNotNull() {
      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " is not null");
      return this;
    }

    public Criteria andAllowSubFieldIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldTypeDAO.AllowSubField
              + " is not null AND "
              + IProductUIFormFieldTypeDAO.AllowSubField
              + " <> ''");
      return this;
    }

    public Criteria andAllowSubFieldIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldTypeDAO.AllowSubField
              + " is null OR "
              + IProductUIFormFieldTypeDAO.AllowSubField
              + " = '')");
      return this;
    }

    public Criteria andAllowSubFieldEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " = ", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.AllowSubField);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " <>", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldTypeDAO.AllowSubField
              + " is null OR "
              + IProductUIFormFieldTypeDAO.AllowSubField
              + " <>",
          value,
          "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.AllowSubField);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldGreaterThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " >", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.AllowSubField);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " >=", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.AllowSubField);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldLessThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " <", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.AllowSubField);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " <=", value, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.AllowSubField);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andAllowSubFieldLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldTypeDAO.AllowSubField + " like", buffer.toString(), "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldTypeDAO.AllowSubField + " not like",
          buffer.toString(),
          "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldIn(List<String> values) {

      if (values.size() == 1) {
        return andAllowSubFieldEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " in", values, "allowSubField");
        return this;
      }
    }

    public Criteria andAllowSubFieldNotIn(List<String> values) {
      if (values.size() == 1) {
        return andAllowSubFieldNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " not in", values, "allowSubField");
        return this;
      }
    }

    public Criteria andAllowSubFieldIn(String[] values) {

      if (values.length == 1) {
        return andAllowSubFieldEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.AllowSubField + " in",
            Arrays.asList(values),
            "allowSubField");
        return this;
      }
    }

    public Criteria andAllowSubFieldNotIn(String[] values) {
      if (values.length == 1) {
        return andAllowSubFieldNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.AllowSubField + " not in",
            Arrays.asList(values),
            "allowSubField");
        return this;
      }
    }

    public Criteria andAllowSubFieldIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.AllowSubField + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andAllowSubFieldBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldTypeDAO.AllowSubField + " between", value1, value2, "allowSubField");
      return this;
    }

    public Criteria andAllowSubFieldNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldTypeDAO.AllowSubField + " not between",
          value1,
          value2,
          "allowSubField");
      return this;
    }

    public Criteria andLastModifyUserIsNull() {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " is null");
      return this;
    }

    public Criteria andLastModifyUserIsNotNull() {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " is not null");
      return this;
    }

    public Criteria andLastModifyUserIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldTypeDAO.LastModifyUser
              + " is not null AND "
              + IProductUIFormFieldTypeDAO.LastModifyUser
              + " <> ''");
      return this;
    }

    public Criteria andLastModifyUserIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldTypeDAO.LastModifyUser
              + " is null OR "
              + IProductUIFormFieldTypeDAO.LastModifyUser
              + " = '')");
      return this;
    }

    public Criteria andLastModifyUserEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " = ", value, "lastModifyUser");
      return this;
    }

    public Criteria andLastModifyUserEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyUser);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyUserEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyUserNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " <>", value, "lastModifyUser");
      return this;
    }

    public Criteria andLastModifyUserNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldTypeDAO.LastModifyUser
              + " is null OR "
              + IProductUIFormFieldTypeDAO.LastModifyUser
              + " <>",
          value,
          "lastModifyUser");
      return this;
    }

    public Criteria andLastModifyUserNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyUser);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyUserNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyUserGreaterThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " >", value, "lastModifyUser");
      return this;
    }

    public Criteria andLastModifyUserGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyUser);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyUserGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyUserGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " >=", value, "lastModifyUser");
      return this;
    }

    public Criteria andLastModifyUserGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyUser);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyUserGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyUserLessThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " <", value, "lastModifyUser");
      return this;
    }

    public Criteria andLastModifyUserLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyUser);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyUserLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyUserLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " <=", value, "lastModifyUser");
      return this;
    }

    public Criteria andLastModifyUserLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyUser);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyUserLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyUserLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldTypeDAO.LastModifyUser + " like", buffer.toString(), "lastModifyUser");
      return this;
    }

    public Criteria andLastModifyUserNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldTypeDAO.LastModifyUser + " not like",
          buffer.toString(),
          "lastModifyUser");
      return this;
    }

    public Criteria andLastModifyUserIn(List<String> values) {

      if (values.size() == 1) {
        return andLastModifyUserEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " in", values, "lastModifyUser");
        return this;
      }
    }

    public Criteria andLastModifyUserNotIn(List<String> values) {
      if (values.size() == 1) {
        return andLastModifyUserNotEqualTo(values.get(0));
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.LastModifyUser + " not in", values, "lastModifyUser");
        return this;
      }
    }

    public Criteria andLastModifyUserIn(String[] values) {

      if (values.length == 1) {
        return andLastModifyUserEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.LastModifyUser + " in",
            Arrays.asList(values),
            "lastModifyUser");
        return this;
      }
    }

    public Criteria andLastModifyUserNotIn(String[] values) {
      if (values.length == 1) {
        return andLastModifyUserNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.LastModifyUser + " not in",
            Arrays.asList(values),
            "lastModifyUser");
        return this;
      }
    }

    public Criteria andLastModifyUserIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyUserNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyUser + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyUserBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldTypeDAO.LastModifyUser + " between", value1, value2, "lastModifyUser");
      return this;
    }

    public Criteria andLastModifyUserNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldTypeDAO.LastModifyUser + " not between",
          value1,
          value2,
          "lastModifyUser");
      return this;
    }

    public Criteria andLastModifyTimeIsNull() {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyTime + " is null");
      return this;
    }

    public Criteria andLastModifyTimeIsNotNull() {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyTime + " is not null");
      return this;
    }

    public Criteria andLastModifyTimeIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldTypeDAO.LastModifyTime
              + " is not null AND "
              + IProductUIFormFieldTypeDAO.LastModifyTime
              + " <> ''");
      return this;
    }

    public Criteria andLastModifyTimeIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldTypeDAO.LastModifyTime
              + " is null OR "
              + IProductUIFormFieldTypeDAO.LastModifyTime
              + " = '')");
      return this;
    }

    public Criteria andLastModifyTimeEqualTo(java.util.Date value) {

      addCriterionForJDBCDate(
          IProductUIFormFieldTypeDAO.LastModifyTime + " = ", value, "lastModifyTime");
      return this;
    }

    public Criteria andLastModifyTimeEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyTime);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyTimeEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyTime + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyTimeNotEqualTo(java.util.Date value) {

      addCriterionForJDBCDate(
          IProductUIFormFieldTypeDAO.LastModifyTime + " <>", value, "lastModifyTime");
      return this;
    }

    public Criteria andLastModifyTimeNotEqualToOrIsNull(java.util.Date value) {

      addCriterionForJDBCDate(
          IProductUIFormFieldTypeDAO.LastModifyTime
              + " is null OR "
              + IProductUIFormFieldTypeDAO.LastModifyTime
              + " <>",
          value,
          "lastModifyTime");
      return this;
    }

    public Criteria andLastModifyTimeNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyTime);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyTimeNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyTime + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyTimeGreaterThan(java.util.Date value) {

      addCriterionForJDBCDate(
          IProductUIFormFieldTypeDAO.LastModifyTime + " >", value, "lastModifyTime");
      return this;
    }

    public Criteria andLastModifyTimeGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyTime);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyTimeGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyTime + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyTimeGreaterThanOrEqualTo(java.util.Date value) {

      addCriterionForJDBCDate(
          IProductUIFormFieldTypeDAO.LastModifyTime + " >=", value, "lastModifyTime");
      return this;
    }

    public Criteria andLastModifyTimeGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyTime);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyTimeGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyTime + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyTimeLessThan(java.util.Date value) {

      addCriterionForJDBCDate(
          IProductUIFormFieldTypeDAO.LastModifyTime + " <", value, "lastModifyTime");
      return this;
    }

    public Criteria andLastModifyTimeLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyTime);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyTimeLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyTime + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyTimeLessThanOrEqualTo(java.util.Date value) {

      addCriterionForJDBCDate(
          IProductUIFormFieldTypeDAO.LastModifyTime + " <=", value, "lastModifyTime");
      return this;
    }

    public Criteria andLastModifyTimeLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.LastModifyTime);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andLastModifyTimeLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyTime + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyTimeIn(List<java.util.Date> values) {

      if (values.size() == 1) {
        return andLastModifyTimeEqualTo(values.get(0));
      } else {
        addCriterionForJDBCDate(
            IProductUIFormFieldTypeDAO.LastModifyTime + " in", values, "lastModifyTime");
        return this;
      }
    }

    public Criteria andLastModifyTimeNotIn(List<java.util.Date> values) {
      if (values.size() == 1) {
        return andLastModifyTimeNotEqualTo(values.get(0));
      } else {
        addCriterionForJDBCDate(
            IProductUIFormFieldTypeDAO.LastModifyTime + " not in", values, "lastModifyTime");
        return this;
      }
    }

    public Criteria andLastModifyTimeIn(java.util.Date[] values) {

      if (values.length == 1) {
        return andLastModifyTimeEqualTo(values[0]);
      } else {
        addCriterionForJDBCDate(
            IProductUIFormFieldTypeDAO.LastModifyTime + " in",
            Arrays.asList(values),
            "lastModifyTime");
        return this;
      }
    }

    public Criteria andLastModifyTimeNotIn(java.util.Date[] values) {
      if (values.length == 1) {
        return andLastModifyTimeNotEqualTo(values[0]);
      } else {
        addCriterionForJDBCDate(
            IProductUIFormFieldTypeDAO.LastModifyTime + " not in",
            Arrays.asList(values),
            "lastModifyTime");
        return this;
      }
    }

    public Criteria andLastModifyTimeIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyTime + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyTimeNotIn(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.LastModifyTime + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andLastModifyTimeBetween(java.util.Date value1, java.util.Date value2) {
      addCriterionForJDBCDate(
          IProductUIFormFieldTypeDAO.LastModifyTime + " between", value1, value2, "lastModifyTime");
      return this;
    }

    public Criteria andLastModifyTimeNotBetween(java.util.Date value1, java.util.Date value2) {
      addCriterionForJDBCDate(
          IProductUIFormFieldTypeDAO.LastModifyTime + " not between",
          value1,
          value2,
          "lastModifyTime");
      return this;
    }

    public Criteria andStatusIsNull() {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " is null");
      return this;
    }

    public Criteria andStatusIsNotNull() {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " is not null");
      return this;
    }

    public Criteria andStatusIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldTypeDAO.Status
              + " is not null AND "
              + IProductUIFormFieldTypeDAO.Status
              + " <> ''");
      return this;
    }

    public Criteria andStatusIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldTypeDAO.Status
              + " is null OR "
              + IProductUIFormFieldTypeDAO.Status
              + " = '')");
      return this;
    }

    public Criteria andStatusEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Status + " = ", value, "status");
      return this;
    }

    public Criteria andStatusEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Status);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Status + " <>", value, "status");
      return this;
    }

    public Criteria andStatusNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldTypeDAO.Status
              + " is null OR "
              + IProductUIFormFieldTypeDAO.Status
              + " <>",
          value,
          "status");
      return this;
    }

    public Criteria andStatusNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Status);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Status + " >", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Status);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Status + " >=", value, "status");
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Status);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Status + " <", value, "status");
      return this;
    }

    public Criteria andStatusLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Status);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Status + " <=", value, "status");
      return this;
    }

    public Criteria andStatusLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Status);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andStatusLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldTypeDAO.Status + " like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldTypeDAO.Status + " not like", buffer.toString(), "status");
      return this;
    }

    public Criteria andStatusIn(List<String> values) {

      if (values.size() == 1) {
        return andStatusEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Status + " in", values, "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(List<String> values) {
      if (values.size() == 1) {
        return andStatusNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Status + " not in", values, "status");
        return this;
      }
    }

    public Criteria andStatusIn(String[] values) {

      if (values.length == 1) {
        return andStatusEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Status + " in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusNotIn(String[] values) {
      if (values.length == 1) {
        return andStatusNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.Status + " not in", Arrays.asList(values), "status");
        return this;
      }
    }

    public Criteria andStatusIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andStatusBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " between", value1, value2, "status");
      return this;
    }

    public Criteria andStatusNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldTypeDAO.Status + " not between", value1, value2, "status");
      return this;
    }

    public Criteria andRemarksIsNull() {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " is null");
      return this;
    }

    public Criteria andRemarksIsNotNull() {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " is not null");
      return this;
    }

    public Criteria andRemarksIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldTypeDAO.Remarks
              + " is not null AND "
              + IProductUIFormFieldTypeDAO.Remarks
              + " <> ''");
      return this;
    }

    public Criteria andRemarksIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldTypeDAO.Remarks
              + " is null OR "
              + IProductUIFormFieldTypeDAO.Remarks
              + " = '')");
      return this;
    }

    public Criteria andRemarksEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " = ", value, "remarks");
      return this;
    }

    public Criteria andRemarksEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Remarks);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " <>", value, "remarks");
      return this;
    }

    public Criteria andRemarksNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldTypeDAO.Remarks
              + " is null OR "
              + IProductUIFormFieldTypeDAO.Remarks
              + " <>",
          value,
          "remarks");
      return this;
    }

    public Criteria andRemarksNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Remarks);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksGreaterThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " >", value, "remarks");
      return this;
    }

    public Criteria andRemarksGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Remarks);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " >=", value, "remarks");
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Remarks);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLessThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " <", value, "remarks");
      return this;
    }

    public Criteria andRemarksLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Remarks);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksLessThan(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " <=", value, "remarks");
      return this;
    }

    public Criteria andRemarksLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.Remarks);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andRemarksLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " like", buffer.toString(), "remarks");
      return this;
    }

    public Criteria andRemarksNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " not like", buffer.toString(), "remarks");
      return this;
    }

    public Criteria andRemarksIn(List<String> values) {

      if (values.size() == 1) {
        return andRemarksEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Remarks + " in", values, "remarks");
        return this;
      }
    }

    public Criteria andRemarksNotIn(List<String> values) {
      if (values.size() == 1) {
        return andRemarksNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Remarks + " not in", values, "remarks");
        return this;
      }
    }

    public Criteria andRemarksIn(String[] values) {

      if (values.length == 1) {
        return andRemarksEqualTo(values[0]);
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.Remarks + " in", Arrays.asList(values), "remarks");
        return this;
      }
    }

    public Criteria andRemarksNotIn(String[] values) {
      if (values.length == 1) {
        return andRemarksNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.Remarks + " not in", Arrays.asList(values), "remarks");
        return this;
      }
    }

    public Criteria andRemarksIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andRemarksBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " between", value1, value2, "remarks");
      return this;
    }

    public Criteria andRemarksNotBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldTypeDAO.Remarks + " not between", value1, value2, "remarks");
      return this;
    }

    public Criteria andTypeIconIsNull() {
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " is null");
      return this;
    }

    public Criteria andTypeIconIsNotNull() {
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " is not null");
      return this;
    }

    public Criteria andTypeIconIsNotEmpty() {
      addCriterion(
          IProductUIFormFieldTypeDAO.TypeIcon
              + " is not null AND "
              + IProductUIFormFieldTypeDAO.TypeIcon
              + " <> ''");
      return this;
    }

    public Criteria andTypeIconIsEmpty() {
      addCriterion(
          "("
              + IProductUIFormFieldTypeDAO.TypeIcon
              + " is null OR "
              + IProductUIFormFieldTypeDAO.TypeIcon
              + " = '')");
      return this;
    }

    public Criteria andTypeIconEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " = ", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeIcon);
      str.append(" = ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconEqualTo(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " = ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconNotEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " <>", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconNotEqualToOrIsNull(String value) {

      addCriterion(
          IProductUIFormFieldTypeDAO.TypeIcon
              + " is null OR "
              + IProductUIFormFieldTypeDAO.TypeIcon
              + " <>",
          value,
          "typeIcon");
      return this;
    }

    public Criteria andTypeIconNotEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeIcon);
      str.append(" <> ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconNotEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " <> ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconGreaterThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " >", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconGreaterThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeIcon);
      str.append(" > ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconGreaterThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " > ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconGreaterThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " >=", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconGreaterThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeIcon);
      str.append(" >= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconGreaterThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " >= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconLessThan(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " <", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconLessThanForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeIcon);
      str.append(" < ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconLessThan(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " < ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconLessThanOrEqualTo(String value) {

      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " <=", value, "typeIcon");
      return this;
    }

    public Criteria andTypeIconLessThanOrEqualToForeignKey(java.lang.String key) {
      StringBuffer str = new StringBuffer(IProductUIFormFieldTypeDAO.TypeIcon);
      str.append(" <= ").append(key);
      addForeignKeyCriterion(str.toString());
      return this;
    }

    public Criteria andTypeIconLessThanOrEqualTo(
        BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " <= ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " like", buffer.toString(), "typeIcon");
      return this;
    }

    public Criteria andTypeIconNotLike(String value) {
      StringBuffer buffer = new StringBuffer("%");
      buffer.append(value);
      buffer.append("%");
      addCriterion(
          IProductUIFormFieldTypeDAO.TypeIcon + " not like", buffer.toString(), "typeIcon");
      return this;
    }

    public Criteria andTypeIconIn(List<String> values) {

      if (values.size() == 1) {
        return andTypeIconEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " in", values, "typeIcon");
        return this;
      }
    }

    public Criteria andTypeIconNotIn(List<String> values) {
      if (values.size() == 1) {
        return andTypeIconNotEqualTo(values.get(0));
      } else {
        addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " not in", values, "typeIcon");
        return this;
      }
    }

    public Criteria andTypeIconIn(String[] values) {

      if (values.length == 1) {
        return andTypeIconEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.TypeIcon + " in", Arrays.asList(values), "typeIcon");
        return this;
      }
    }

    public Criteria andTypeIconNotIn(String[] values) {
      if (values.length == 1) {
        return andTypeIconNotEqualTo(values[0]);
      } else {
        addCriterion(
            IProductUIFormFieldTypeDAO.TypeIcon + " not in", Arrays.asList(values), "typeIcon");
        return this;
      }
    }

    public Criteria andTypeIconIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconNotIn(BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " not in ", subQueryBean, dao);
      return this;
    }

    public Criteria andTypeIconBetween(String value1, String value2) {
      addCriterion(IProductUIFormFieldTypeDAO.TypeIcon + " between", value1, value2, "typeIcon");
      return this;
    }

    public Criteria andTypeIconNotBetween(String value1, String value2) {
      addCriterion(
          IProductUIFormFieldTypeDAO.TypeIcon + " not between", value1, value2, "typeIcon");
      return this;
    }
  }
}
